package Extends.ExtendsText005;

/**
 * ClassName:Cook
 * Package:Extends.ExtendsText005
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/1/20-2:34
 * @Version:v1.0
 */
public class Cook extends Employee{
    public Cook() {
    }

    public Cook(String id, String name, int salary) {
        super(id, name, salary);
    }

    @Override
    public void work(){
        System.out.println("我的工作是炒菜");
    }
}
